package bigraph.figure;

import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.LineBorder;
import org.eclipse.draw2d.RoundedRectangle;
import org.eclipse.draw2d.ToolbarLayout;
import org.eclipse.draw2d.XYLayout;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Rectangle;

public class CanvasFigure extends Figure {

	private XYLayout layout;
	
	public CanvasFigure() {
        layout = new XYLayout();
        setLayoutManager(layout);
 
   }

    public void setLayout(Rectangle rect) {
        	setBounds(rect);
    }

}
